package com.ruoyi.system.mapper.shopping;

import com.ruoyi.system.domain.shopping.Area;
import com.ruoyi.system.domain.shopping.Category;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CategoryMapper {
    List<Category> selectCategoryList(Category category);

    int insert(Category category);

    Category selectCategoryById(Integer categoryId);

    int update(Category category);

    int deleteByIds(@Param("ids") Integer[] categoryIds);
}
